package com.sunny.ynhz.db;

import io.realm.Realm;
import io.realm.RealmConfiguration;

/**
 * Created by luao on 2017/10/11.
 */

public class RealmUtils {


    public static Realm getDeleteRealm() {
        RealmConfiguration config = new RealmConfiguration.Builder()
                .deleteRealmIfMigrationNeeded()
                .build();
        return Realm.getInstance(config);
    }

}
